// DataBaseManager.h: interface for the CDataBaseManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DATABASEMANAGER_H__1D0AE574_DDED_4790_813D_0888A4A2F13D__INCLUDED_)
#define AFX_DATABASEMANAGER_H__1D0AE574_DDED_4790_813D_0888A4A2F13D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CDataBaseManager  
{
public:
	CDataBaseManager();
	virtual ~CDataBaseManager();

public:
	static _ConnectionPtr gUnitsCon;
	static _ConnectionPtr gPSACon;
	static _ConnectionPtr gPDCon;
};

extern _ConnectionPtr GetDBPD();
extern _ConnectionPtr GetDBPSA();
extern _ConnectionPtr GetDBUnits();
extern void CloseTable(_RecordsetPtr &pRs);
extern void OpenDataBase(_ConnectionPtr & pCon,CString &strDBSource);

#endif // !defined(AFX_DATABASEMANAGER_H__1D0AE574_DDED_4790_813D_0888A4A2F13D__INCLUDED_)
